<%--
  Created by IntelliJ IDEA.
  User: 小柒的Java
  Date: 2021/7/19
  Time: 13:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<hr>
<center>
    <form action="fileUploadServlet" method="post" enctype="multipart/form-data">
        用户名：<input type="text" name="name"></br>
        图像：<input type="file" name="请选择文件"></br>
        <input type="submit" name="上传">
    </form>
</center>

<hr>
<center>
    <a href="downLoadServlet?fname=3.jpg">下载3.jpg</a>
</center>
</body>
</html>
